<!--  @author:ymy  -->
<template>
  <div class="header">
    <div class="logobar">
      <img src="https://assets-cdn.lanqb.com/lanqb/logo05.png" alt="" />
    </div>
    <div class="register">
      <div class="search-img">
        <img src="https://assets-cdn.lanqb.com/lanqb/m/header-search.png" alt="" />
      </div>
      <div class="login-bar">
        <span class="loginSpan">登录</span>
        <span>注册</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Header',
  data() {
    return {};
  },
};
</script>
<style lang="less" scoped>
.header {
  z-index: 1000;
  font-size: 0.2rem;
  width: 100vw;
  height: 0.44rem;
  background-color: white;
  position: fixed;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 0 0.02rem 0 #a4a4a4;
  > .logobar {
    width: 1.77rem;
    height: 0.44rem;
    text-align: center;
    line-height: 0.44rem;
    padding: 0.06rem 0;
    > img {
      width: 1.77rem;
    }
  }
  > .register {
    width: 1.37rem;
    height: 0.44rem;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    > .search-img {
      padding: 0.08rem 0;
      img {
        width: 0.42rem;
        height: 0.28rem;
      }
    }
    > .login-bar {
      font-size: 0.16rem;
      > .loginSpan {
        margin-right: 0.1rem;
      }
    }
  }
}
</style>
